package com.jy.rhin.model.body.ertongjktj;

import com.jy.rhin.infra.cda.EDataElement;
import com.jy.rhin.infra.cda.XPath;
import com.jy.rhin.infra.cda.XValid;
import com.jy.rhin.model.CodeObject;
import lombok.Getter;
import lombok.Setter;
//囟门闭合情况
@Getter
@Setter
public class XinMenBHQK {

    //前囟闭合标志
    @XPath(path = "/value/@value")
    private String qianXinBHBZ;

    //前囟横径
    @XPath(model = "code", codePath = "/entryRelationship/observation/code[@code='DE04.10.152.00']",
            path = "/value/@value",
            xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE04_10_152_00))
    private String qianXinHJ;

    //前囟纵径
    @XPath(model = "code", codePath = "/entryRelationship/observation/code[@code='DE04.10.153.00']",
            path = "/value/@value",
            xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE04_10_153_00))
    private String qianXinZJ;

    //前囟张力
    @XPath(path = "/entryRelationship/observation/code[@code='DE04.10.154.00']/../value",
            xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE04_10_154_00))
    private CodeObject qianXinZL;
}
